﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="cn.ac.cintcm.dataconverge.util.Constants;"%>
<%@ include file="/WEB-INF/jsp/taglib.jsp"%>
<%@ taglib prefix="ec" uri="/WEB-INF/taglib/extremecomponents.tld" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <link href="css/norm.css" rel="stylesheet" type="text/css">
   
<style type="text/css">
<!--
body {
	background-image: url(images/bg.gif);
}
-->
</style>
  	<TITLE><%=Constants.APP_TITLE %>--用户注册</TITLE>
	<link rel="stylesheet" type="text/css" href="css/extremecomponents.css">
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<%@ include file="/WEB-INF/jsp/include/script.jsp" %>  
	<script language="JavaScript" src="js/common.js"></script>
	<SCRIPT type="text/javascript">
	
	function check(){
	
	 var fm=document.forms[0];
	  if(fm.name.value==""){
	    alert("请填写姓名！");
	    fm.name.focus();
	    return false;
	    }
	    
    if(fm.idcard.value==""){
       alert("请填写身份证号码！");
       fm.idcard.focus();
       return false;
       }
       
       //var pvalue=fm.idcard.value;
      //alert(pvalue);
      //alert(pvalue!='');
     // var exp = new RegExp("^[0-9]*\*{0,1}$");
     // alert(!exp.test(pvalue));
      
      
      //if(pvalue!=''&&!exp.test(pvalue)){
      //alert("请确认您的身份证号码!");
     // fm.idcard.focus();
	  //return false;
	 // }
	  return true;
}
</SCRIPT>
</head>
<body style="text-align:center;">
  <h4 align="center">用户注册</h4>
   <div align="center"><font color="red">${msg}</font></div>
  <form method="post" action="researcher.htm?action=registerNext" onSubmit="return check();">
  <fieldset>
  <legend>第一步：基本信息</legend>
<table width="80%" border="1">
  <tr>
    <td>姓名</td>
    <td><input name="name" type="text" maxlength="20"><font color="red">*</font></td>    
  </tr>
  <tr>
    <td>证件类型：</td>
    <td><input name="idcard" type="text" maxlength="20"><font color="red">*</font></td>
  </tr>
  <tr>
    <td>证件号码：</td>
    <td><input name="idcard" type="text" maxlength="20"><font color="red">*</font></td>
  </tr>
</table>
</fieldset>
<br>
<br>
<div align="center"><input name="save" type="submit" value="注册">&nbsp;&nbsp;&nbsp;&nbsp;
</div>
</form>
</body>
</html>